<mat-card>
  <mat-card-header>
    <mat-card-title>
      {{project.title}}
    </mat-card-title>
  </mat-card-header>
  <img [src]="project.coverImg" alt="Alternate Text" class="mat-card-image" />
  <mat-card-content>
    {{project.desc}}
  </mat-card-content>
  <mat-card-actions>
    <button type="button" mat-button>
      <mat-icon>edit</mat-icon>
      <span>编辑</span>
    </button>
    <button type="button" mat-button (click)="openInviteDialog($event)">
      <mat-icon>invite</mat-icon>
      <span>邀请</span>
    </button>
    <button type="button" mat-button (click)="openDelConfirmDialog($event)">
      <mat-icon>delete</mat-icon>
      <span>删除</span>
    </button>
  </mat-card-actions>
</mat-card>
